package cn.dankal.basiclib.api;

import java.util.Map;

import cn.dankal.annotations.ApiFactory;
import cn.dankal.basiclib.pojo.AddressEntity;
import cn.dankal.basiclib.pojo.PhoneOrEmailIsExistBean;
import cn.dankal.basiclib.pojo.ScanCarModel;
import cn.dankal.basiclib.pojo.ScanResultEntity;
import cn.dankal.basiclib.pojo.SmSReturnBean;
import cn.dankal.basiclib.pojo.UserInfoBean;
import cn.dankal.basiclib.pojo.WXIsBindBean;
import cn.dankal.business.pojo.ActivityBean;
import cn.dankal.business.pojo.BaseBeanList;
import cn.dankal.business.pojo.LisenseBean;
import cn.dankal.business.pojo.NotificationBean;
import cn.dankal.business.pojo.NotifyCountBean;
import cn.dankal.business.pojo.ReasonBean;
import cn.dankal.business.pojo.VerifyCarBean;
import cn.dankal.business.pojo.VersionBean;
import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.http.Url;

/**
 * Date: 2018/7/27.
 * Time: 17:44
 * classDescription:
 * 个人中心
 *
 * @author fred
 */

@ApiFactory(value = BaseApiByScan.class)
public interface ScanService {

    /**
     * 登录
     *
     * @return
     */
    @POST("controlcar/frontapi/carInfo/saveCarInfo")
    Observable<Object> login(@Body ScanCarModel model);

    @GET
    Observable<ScanResultEntity> scanLogin(@Url String url);
}
